<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../base.jsp"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
<form method="post" action="#">

<div id="menubar">
<div id="middleMenubar">
<div id="innerMenubar">
    <div id="navMenubar">
<ul>
<li id="save"><a href="#" onclick="formSubmit('${pageContext.request.contextPath}/updateContractc.action','_self');">确定</a></li>
<li id="back"><a href="formSubmit('${pageContext.request.contextPath}/selectContractc.action">返回</a></li>
</ul>
    </div>
</div>
</div>
</div>
     
<div class="textbox" id="centerTextbox">
    
    <div class="textbox-header">
    <div class="textbox-inner-header">
    <div class="textbox-title">
		新增购销合同信息
    </div> 
    </div>
    </div>
<div>
    <div>
		<table class="commonTable" cellspacing="1">
			<input type="hidden" name="contractId" value="${list.contractId}">
	        <tr>
	            <td class="columnTitle_mustbe">客户名称：</td>
	            <td class="tableContent"><input type="text" name="customName" value="${list.customName}"/></td>
	            <td class="columnTitle_mustbe">收购方：</td>
	            <td class="tableContent"><input type="text" name="offeror" value="${list.offeror}"/></td>
	        </tr>
	        <tr>
	            <td class="columnTitle_mustbe">合同号：</td>
	            <td class="tableContent"><input type="text" name="contractNo" value="${list.contractNo}"/></td>
	            <td class="columnTitle_mustbe">打印版式：</td>
	            <td class="tableContent">
                     <c:if test="${list.printStyle eq 2}">
						 <input type="radio" style="width: 10px" name="printStyle" checked="checked" value="2"/>两款<input style="width: 10px" type="radio" name="printStyle" value="1"/>一款</td>
					 </c:if>
				<c:if test="${list.printStyle eq 1}">
					<input type="radio" style="width: 10px" name="printStyle" checked="checked" value="2"/>两款<input style="width: 10px" type="radio" name="printStyle" checked="checked" value="1"/>一款</td>
				</c:if>

	        </tr>
	        <tr>
	            <td class="columnTitle_mustbe">签单日期：</td>
	            <td class="tableContent"><input type="text" name="signingDate" value="<fmt:formatDate value="${list.signingDate}" pattern="yyyy-MM-dd"/>" /></td>
	            <td class="columnTitle_mustbe">重要程度：</td>
	            <td class="tableContent">
					<c:if test="${list.importNum eq 3}">
						<input style="width: 10px" type="radio" name="importNum" value="3" checked="checked"/>***<input style="width: 10px" type="radio" name="importNum" value="2"/>**<input style="width: 10px" type="radio" name="importNum" value="1"/>*
					</c:if>
					<c:if test="${list.importNum eq 2}">
						<input style="width: 10px" type="radio" name="importNum" value="3"/>***<input style="width: 10px" type="radio" name="importNum" value="2" checked="checked"/>**<input style="width: 10px" type="radio" name="importNum" value="1"/>*
					</c:if>
					<c:if test="${list.importNum eq 1}">
						<input style="width: 10px" type="radio" name="importNum" value="3"/>***<input style="width: 10px" type="radio" name="importNum" value="2"/>**<input style="width: 10px" type="radio" name="importNum" value="1" checked="checked"/>*
					</c:if>
				</td>
	        </tr>
	        <tr>
	            <td class="columnTitle_mustbe">交易期限：</td>
	            <td class="tableContent"><input type="text" name="deliveryPeriod" value="<fmt:formatDate value="${list.deliveryPeriod}" pattern="yyyy-MM-dd"/>"></td>
	            <td class="columnTitle_mustbe" >船期：</td>
	            <td class="tableContent">
					<input type="text" name="shipTime" value="<fmt:formatDate value="${list.shipTime}" pattern="yyyy-MM-dd"/>"/>
				</td>
	        </tr>
			<tr>
				<td class="columnTitle_mustbe">货易条款：</td>
				<td class="tableContent"><input type="text" value=""/></td>
				<td class="columnTitle_mustbe">验货员：</td>
				<td class="tableContent"><input type="text" name="inspector" value="${list.inspector}"/></td>
			</tr>
			<tr>
				<td class="columnTitle_mustbe">制单人：</td>
				<td class="tableContent"><input type="text" name="inputBy" value="${list.inputBy}"/></td>
				<td class="columnTitle_mustbe">审单人：</td>
				<td class="tableContent"><input type="text" name="checkBy" value="${list.checkBy}"/></td>
			</tr>
	        <tr>
	            <td class="columnTitle_mustbe">要求：</td>
	            <td class="tableContent"><textarea name="request" style="height:120px;">${list.request}</textarea>
				</td>
				<td class="columnTitle_mustbe">说明：</td>
				<td class="tableContent"><textarea name="remark" style="height:120px;">${list.remark}</textarea>
	        </tr>
		</table>
	</div>
</div>
</div>
 
</form>
</body>
</html>

